package org.springblade.application.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import oracle.net.ns.Message;
import org.springblade.applicationapi.entity.App;
import org.springblade.core.mp.base.BaseService;
import org.springblade.core.mp.support.Query;

import java.util.List;


/**
 * description: AppService 子应用服务类 <br>
 * date: 2022/4/1 15:04 <br>
 * author: yzpang <br>
 * version: 1.0 <br>
 */
public interface AppService {
    /** 获取子应用列表 */
    default List<App> findAppList(){return null;}

    default public Boolean addApp(App app) {return true;}

    default public App updateApp(App app) {return null;}

    default public App getAppByAppId(String appid) {return null;}

    default public App getAppByAppName(String appName) {return null;}

	default public List<App> getAppAll(){return null;}

	default public IPage<App> selectAppPage(IPage<App> page){return null;}

	default public Boolean deleteById(String ids){return null;}

	default public Boolean updateBuiltinApp(){return true;}

	default public IPage<App> selectAppPage(IPage<App> page, App app, String order, String name){return null;}
}
